//
//  MyCollectionViewCell.m
//  VRDemo
//
//  Created by Agensn on 2017/3/9.
//  Copyright © 2017年 🌹Agensn_Master🌹. All rights reserved.
//

#import "MyCollectionViewCell.h"

@implementation MyCollectionViewCell

-(UIImageView *)img{
    if (!_img) {
        _img = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, 190, 110)];
        [self addSubview:_img];
    }
    return _img;
}
-(UILabel *)mainLab{
    if (!_mainLab) {
        _mainLab = [[UILabel alloc]initWithFrame:CGRectMake(0, 110, 190, 25)];
        _mainLab.font = [UIFont systemFontOfSize:15];
        _mainLab.textAlignment = NSTextAlignmentLeft;
        [self addSubview:_mainLab];
    }
    return _mainLab;
}
-(UILabel *)subLab{
    if (!_subLab) {
        _subLab = [[UILabel alloc]initWithFrame:CGRectMake(0, 130, 190, 20)];
        _subLab.font = [UIFont systemFontOfSize:12];
        _subLab.textAlignment = NSTextAlignmentLeft;
        _subLab.textColor = [UIColor grayColor];
        [self addSubview:_subLab];
    }
    return _subLab;
}

@end
